/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif;

import com.keybridgeglobal.wsif.device.Device;
import com.keybridgeglobal.wsif.enumerated.EnumWsifWhitespaceType;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.*;

/**
 * <p>Java class for whitespaceRegistration complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 * <p/>
 * <
 * pre>
 * &lt;complexType name="whitespaceRegistration">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="channelList" type="{}channel" maxOccurs="unbounded"/>
 *         &lt;element ref="{}schedule"/>
 *         &lt;element ref="{}device" minOccurs="0"/>
 *         &lt;element ref="{}station"/>
 *         &lt;element ref="{}geometry"/>
 *         &lt;element name="extension" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="active" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       &lt;attribute name="adjacent" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="whitespaceType" use="required" type="{}enumWsifWhitespaceType" />
 *       &lt;attribute name="dateCreated" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="dateEffective" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="dateExpiration" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="dateLastUpdated" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * <p/>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "whitespaceRegistration", propOrder = {
  "channelList",
  "schedule",
  "device",
  "station",
  "geometry",
  "extension"
})
@XmlRootElement
public class WhitespaceRegistration {

  @XmlElement(required = true)
  protected List<Channel> channelList;
  @XmlElement(required = true)
  protected Schedule schedule;
  protected Device device;
  @XmlElement(required = true)
  protected Station station;
  @XmlElement(required = true)
  protected Geometry geometry;
  protected String extension;
  @XmlAttribute(name = "uuid", required = true)
  protected String uuid;
  @XmlAttribute(name = "active", required = true)
  protected boolean active;
  @XmlAttribute(name = "adjacent", required = true)
  protected boolean adjacent;
  @XmlAttribute(name = "name", required = true)
  protected String name;
  @XmlAttribute(name = "description")
  protected String description;
  @XmlAttribute(name = "whitespaceType", required = true)
  protected EnumWsifWhitespaceType whitespaceType;
  @XmlAttribute(name = "dateCreated", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateCreated;
  @XmlAttribute(name = "dateEffective", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateEffective;
  @XmlAttribute(name = "dateExpiration", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateExpiration;
  @XmlAttribute(name = "dateLastUpdated", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateLastUpdated;

  /**
   * Gets the value of the channelList property.
   * <p/>
   * <p> This accessor method returns a reference to the live list, not a
   * snapshot. Therefore any modification you make to the returned list will be
   * present inside the JAXB object. This is why there is not a
   * <CODE>set</CODE> method for the channelList property.
   * <p/>
   * <p> For example, to add a new item, do as follows:
   * <pre>
   *    getChannelList().add(newItem);
   * </pre>
   * <p/>
   *
   * <p> Objects of the following type(s) are allowed in the list
     * {@link Channel }
   *
   *
   */
  public List<Channel> getChannelList() {
    if (channelList == null) {
      channelList = new ArrayList<Channel>();
    }
    return this.channelList;
  }

  /**
   * Gets the value of the schedule property.
   * <p/>
   * @return possible object is {@link Schedule }
   *
   */
  public Schedule getSchedule() {
    return schedule;
  }

  /**
   * Sets the value of the schedule property.
   * <p/>
   * @param value allowed object is {@link Schedule }
   *
   */
  public void setSchedule(Schedule value) {
    this.schedule = value;
  }

  /**
   * Gets the value of the device property.
   * <p/>
   * @return possible object is {@link Device }
   *
   */
  public Device getDevice() {
    return device;
  }

  /**
   * Sets the value of the device property.
   * <p/>
   * @param value allowed object is {@link Device }
   *
   */
  public void setDevice(Device value) {
    this.device = value;
  }

  /**
   * Gets the value of the station property.
   * <p/>
   * @return possible object is {@link Station }
   *
   */
  public Station getStation() {
    return station;
  }

  /**
   * Sets the value of the station property.
   * <p/>
   * @param value allowed object is {@link Station }
   *
   */
  public void setStation(Station value) {
    this.station = value;
  }

  /**
   * Gets the value of the geometry property.
   * <p/>
   * @return possible object is {@link Geometry }
   *
   */
  public Geometry getGeometry() {
    return geometry;
  }

  /**
   * Sets the value of the geometry property.
   * <p/>
   * @param value allowed object is {@link Geometry }
   *
   */
  public void setGeometry(Geometry value) {
    this.geometry = value;
  }

  /**
   * Gets the value of the extension property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getExtension() {
    return extension;
  }

  /**
   * Sets the value of the extension property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setExtension(String value) {
    this.extension = value;
  }

  /**
   * Gets the value of the uuid property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getUuid() {
    return uuid;
  }

  /**
   * Sets the value of the uuid property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setUuid(String value) {
    this.uuid = value;
  }

  /**
   * Gets the value of the active property.
   * <p/>
   */
  public boolean isActive() {
    return active;
  }

  /**
   * Sets the value of the active property.
   * <p/>
   */
  public void setActive(boolean value) {
    this.active = value;
  }

  /**
   * Gets the value of the adjacent property.
   * <p/>
   */
  public boolean isAdjacent() {
    return adjacent;
  }

  /**
   * Sets the value of the adjacent property.
   * <p/>
   */
  public void setAdjacent(boolean value) {
    this.adjacent = value;
  }

  /**
   * Gets the value of the name property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getName() {
    return name;
  }

  /**
   * Sets the value of the name property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setName(String value) {
    this.name = value;
  }

  /**
   * Gets the value of the description property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getDescription() {
    return description;
  }

  /**
   * Sets the value of the description property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setDescription(String value) {
    this.description = value;
  }

  /**
   * Gets the value of the whitespaceType property.
   * <p/>
   * @return possible object is {@link EnumWsifWhitespaceType }
   *
   */
  public EnumWsifWhitespaceType getWhitespaceType() {
    return whitespaceType;
  }

  /**
   * Sets the value of the whitespaceType property.
   * <p/>
   * @param value allowed object is {@link EnumWsifWhitespaceType }
   *
   */
  public void setWhitespaceType(EnumWsifWhitespaceType value) {
    this.whitespaceType = value;
  }

  /**
   * Gets the value of the dateCreated property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateCreated() {
    return dateCreated;
  }

  /**
   * Sets the value of the dateCreated property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateCreated(Date value) {
    this.dateCreated = value;
  }

  /**
   * Gets the value of the dateEffective property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateEffective() {
    return dateEffective;
  }

  /**
   * Sets the value of the dateEffective property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateEffective(Date value) {
    this.dateEffective = value;
  }

  /**
   * Gets the value of the dateExpiration property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateExpiration() {
    return dateExpiration;
  }

  /**
   * Sets the value of the dateExpiration property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateExpiration(Date value) {
    this.dateExpiration = value;
  }

  /**
   * Gets the value of the dateLastUpdated property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateLastUpdated() {
    return dateLastUpdated;
  }

  /**
   * Sets the value of the dateLastUpdated property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateLastUpdated(Date value) {
    this.dateLastUpdated = value;
  }
}
